package org.jgs1904.oopbase.test.nestedclass.staticnestedclass;

/**
 * @author: 默苍璃
 * @date: 2022-09-14 17:27
 * <p>
 * 静态内部类
 */
public class Outer {
    private static String NAME = "OUTER";

    private String name;

    Outer(String name) {
        this.name = name;
    }

    static class StaticNested {
        void hello() {
            System.out.println("Hello, " + Outer.NAME);
        }
    }

}
